package com.example.demo.design.mediator;

/**
 * @Author: liull
 * @Description:
 * @Date: Created in 14:55 2021/4/6
 * @Modified By:
 */
public class TextBox extends Component {
    @Override
    public void update() {
        System.out.println("客户信息增加成功后文本框清空。");
    }

    public void setText() {
        System.out.println("文本框显示：小龙女。");
    }
}
